<!DOCTYPE html>
<html lang="en">
<head>
    <title>插入节点</title>
    <meta charset="UTF-8">
    <meta content="webkit" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <link href="../favicon.ico" rel="shortcut icon"/>
    <link href="../layui/css/layui.css" rel="stylesheet" type="text/css">
    <link href="../css/sweetalert.css" rel="stylesheet" type="text/css"/>
    <link href="../zTree_v3/css/metroStyle/metroStyle.css" rel="stylesheet" type="text/css">
    <style>
        .layui-form-pane .layui-form-label {
            width: 150px;
        }

        .layui-form-pane .layui-input-block {
            margin-left: 150px;
        }
    </style>
    <script src="../javascript/sweetalert-dev.js"></script>
    <script src="../layui/layui.all.js"></script>
    <script src="../javascript/jquery_3.3.1.js"></script>
    <script src="../zTree_v3/js/jquery.ztree.all.js"></script>
    <script src="../javascript/main.js"></script>
    <script src="resinsert.js"></script>
</head>
<body>
<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md12">
            <form action="" class="layui-form layui-form-pane" lay-filter="resinsert">
                <div class="layui-form-item">
                    <label class="layui-form-label">节点名称</label>
                    <div class="layui-input-block">
                        <input autocomplete="off" class="layui-input" lay-verify="required" name="name"
                               placeholder="请输入节点名称"
                               required type="text">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">节点中文名称</label>
                    <div class="layui-input-block">
                        <input autocomplete="off" class="layui-input" lay-verify="required" name="cnname"
                               placeholder="请输入节点中文名称"
                               required type="text">
                    </div>
                </div>
                <div class="layui-form-item" pane>
                    <label class="layui-form-label">是否菜单节点</label>
                    <div class="layui-input-block">
                        <input name="istop" title="是" type="radio" value=1>
                        <input checked name="istop" title="否" type="radio" value=2>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">资源路径</label>
                    <div class="layui-input-block">
                        <input autocomplete="off" class="layui-input" name="urlpath" placeholder="请输入资源路径" type="text">
                    </div>
                </div>
                <div class="layui-form-item" pane>
                    <label class="layui-form-label">是否有子节点</label>
                    <div class="layui-input-block">
                        <input name="haschild" title="是" type="radio" value=true>
                        <input checked name="haschild" title="否" type="radio" value=false>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="insert_res_form" lay-submit>立即提交</button>
                        <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>